<template>
    <div>
        <Card dis-hover>
             <div class="navicon-con">
                    <Button type="text" @click="gotoWorkflow">
                        点击打开本地流程中心
                    </Button>
                </div>
        </Card>
         <Card dis-hover>
             <div class="navicon-con">
                    <Button type="text" @click="gotoRemoteWorkflow">
                        点击打开远程流程中心
                    </Button>
                </div>
        </Card>
    </div>
</template>
<script lang="ts">
import Vue from "vue";
import AbpBase from "../../lib/abpbase";
export default class Login extends AbpBase {
  gotoWorkflow() {
    var url =
      "http://localhost:9528/#/autologin?access_token=" +
      window.abp.auth.getToken();
    window.open(url, "_bank");
  }

  gotoRemoteWorkflow() {
    var url =
      "http://39.101.74.14:8083/index.html#/autologin?access_token=" +
      window.abp.auth.getToken();
    window.open(url, "_bank");
  }
}
</script>
